package com.infitecs.eyas.suction.dao;

import com.infitecs.eyas.suction.model.SuctionCalculate;
import com.infitecs.krill.mybatis.annotation.mybatisRepository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by pzw on 2015/8/4.
 */
@mybatisRepository
public interface SuctionCalculatorDao {

    void insertSuctionCalculator(SuctionCalculate suctionCalculate);


    List<SuctionCalculate> getSuctionCalculator(@Param("caseId") int caseId);


    List<SuctionCalculate> getIn(@Param("caseId") int caseId);

    List<SuctionCalculate> getOut(@Param("caseId") int caseId);

    void del(@Param("id") int id);

    void editTitle(SuctionCalculate suctionCalculate);

    void update(SuctionCalculate suctionCalculate);

}
